package com.caipin.domain.excel;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:22
 * @Description: TODO
 */
public class BodyTemperatureSummaryExcel {
    private String date;

    private String name;

    private String grade;

    private String clbum;

    private String morningBodyTemperature;

    private String afternoonBodyTemperature;

    public com.caipin.domain.excel.BodyTemperatureSummaryExcel setDate(String date) {
        this.date = date;
        return this;
    }

    public com.caipin.domain.excel.BodyTemperatureSummaryExcel setName(String name) {
        this.name = name;
        return this;
    }

    public com.caipin.domain.excel.BodyTemperatureSummaryExcel setGrade(String grade) {
        this.grade = grade;
        return this;
    }

    public com.caipin.domain.excel.BodyTemperatureSummaryExcel setClbum(String clbum) {
        this.clbum = clbum;
        return this;
    }

    public com.caipin.domain.excel.BodyTemperatureSummaryExcel setMorningBodyTemperature(String morningBodyTemperature) {
        this.morningBodyTemperature = morningBodyTemperature;
        return this;
    }

    public com.caipin.domain.excel.BodyTemperatureSummaryExcel setAfternoonBodyTemperature(String afternoonBodyTemperature) {
        this.afternoonBodyTemperature = afternoonBodyTemperature;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.excel.BodyTemperatureSummaryExcel))
            return false;
        com.caipin.domain.excel.BodyTemperatureSummaryExcel other = (com.caipin.domain.excel.BodyTemperatureSummaryExcel)o;
        if (!other.canEqual(this))
            return false;
        Object this$date = getDate(), other$date = other.getDate();
        if ((this$date == null) ? (other$date != null) : !this$date.equals(other$date))
            return false;
        Object this$name = getName(), other$name = other.getName();
        if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
            return false;
        Object this$grade = getGrade(), other$grade = other.getGrade();
        if ((this$grade == null) ? (other$grade != null) : !this$grade.equals(other$grade))
            return false;
        Object this$clbum = getClbum(), other$clbum = other.getClbum();
        if ((this$clbum == null) ? (other$clbum != null) : !this$clbum.equals(other$clbum))
            return false;
        Object this$morningBodyTemperature = getMorningBodyTemperature(), other$morningBodyTemperature = other.getMorningBodyTemperature();
        if ((this$morningBodyTemperature == null) ? (other$morningBodyTemperature != null) : !this$morningBodyTemperature.equals(other$morningBodyTemperature))
            return false;
        Object this$afternoonBodyTemperature = getAfternoonBodyTemperature(), other$afternoonBodyTemperature = other.getAfternoonBodyTemperature();
        return !((this$afternoonBodyTemperature == null) ? (other$afternoonBodyTemperature != null) : !this$afternoonBodyTemperature.equals(other$afternoonBodyTemperature));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.excel.BodyTemperatureSummaryExcel;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $date = getDate();
        result = result * 59 + (($date == null) ? 43 : $date.hashCode());
        Object $name = getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        Object $grade = getGrade();
        result = result * 59 + (($grade == null) ? 43 : $grade.hashCode());
        Object $clbum = getClbum();
        result = result * 59 + (($clbum == null) ? 43 : $clbum.hashCode());
        Object $morningBodyTemperature = getMorningBodyTemperature();
        result = result * 59 + (($morningBodyTemperature == null) ? 43 : $morningBodyTemperature.hashCode());
        Object $afternoonBodyTemperature = getAfternoonBodyTemperature();
        return result * 59 + (($afternoonBodyTemperature == null) ? 43 : $afternoonBodyTemperature.hashCode());
    }

    public String toString() {
        return "BodyTemperatureSummaryExcel(date=" + getDate() + ", name=" + getName() + ", grade=" + getGrade() + ", clbum=" + getClbum() + ", morningBodyTemperature=" + getMorningBodyTemperature() + ", afternoonBodyTemperature=" + getAfternoonBodyTemperature() + ")";
    }

    public String getDate() {
        return this.date;
    }

    public String getName() {
        return this.name;
    }

    public String getGrade() {
        return this.grade;
    }

    public String getClbum() {
        return this.clbum;
    }

    public String getMorningBodyTemperature() {
        return this.morningBodyTemperature;
    }

    public String getAfternoonBodyTemperature() {
        return this.afternoonBodyTemperature;
    }
}

